﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AMS.PizzaDecoratorDemo
{
    public class Mushrooms : Topping
    {
        public Mushrooms(IPizza pizza, ToppingAction action)
            : base(pizza, action)
        { }

        protected override double SetBaseValue()
        {
            // mushrooms start at 50 cents
            return .50d;
        }

        protected override string SetName()
        {
            return "Mushrooms";
        }
    }
}
